UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The hosts.lpd (or equivalent) must have mode 0644 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-829 GEN003940 SV-35148r1_rule ECLP-1 Medium
Description
Excessive permissions on the hosts.lpd (or equivalent) file may permit unauthorized modification. Unauthorized modifications could disrupt access to local printers from authorized remote hosts or permit unauthorized remote access to local printers.
STIG Date
HP-UX 11.31 Security Technical Implementation Guide 2017-05-19

Details

Check Text ( C-35005r1_chk )
Locate any print service configuration file(s) on the system. HP vendor documentation identifies the following names and locations of print service configuration files on the system that can be checked via the following commands:
# ls -lL /var/spool/lp/.rhosts
# ls -lL /var/adm/inetd.sec
# ls -lL /etc/hosts.equiv

If no print service configuration file is found, this is not a finding.

Check the mode of the print service configuration file.
# ls -lL

If the mode of the print service configuration file is more permissive than 0644, this is a finding.
Fix Text (F-30299r1_fix)
Change the mode of the /etc/hosts.lpd file (or equivalent) to 0644 or less permissive.

Procedure:
# chmod 0644